package com.hopu.dy.service.impl;

import com.hopu.dy.mapper.DyMapper;
import com.hopu.dy.mapper.TitleMapper;
import com.hopu.dy.service.ITitleService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

@Service
public class TitleServiceImpl implements ITitleService {
    @Resource
    private TitleMapper titleMapper;

    @Override
    public void insert(String title) {
        titleMapper.insert(title);
    }
}
